from fastapi import APIRouter, Depends
from core.security import permission_checker

from app.login import api as login
from app.auth import api as auth
from app.bill import api as bill
from app.service_quality import api as qos
from app.audit import api as audit
from app.celery_task import api as celery
from app.monitor_logs import api as logs
from app.monitor_doris import api as doris
from app.manage_notice import api as notice
from app.notice_center import api as notice_center_api
from app.callback import api as callback
from app.fault_self_recovery import api as fsr
from app.tools_jumpserver import api as jumpserver_audit
from app.tools_url_shorten import api as url_shorten
from app.tools_apollo import api as apollo
from app.bigdata import api as bigdata

api = APIRouter()
api.include_router(login.router, tags=['login'])
api.include_router(auth.router, prefix='/auth', tags=['auth'])
api.include_router(auth.router, prefix='/auth', tags=['auth'])
api.include_router(bill.router, prefix='/bill', tags=['bill'])
api.include_router(fsr.router, prefix='/fsr', tags=['fault_self_recovery'])
api.include_router(qos.router, prefix='/qos', tags=['qos'])
api.include_router(audit.router, prefix='/audit', tags=['audit'])
api.include_router(celery.router, prefix='/celery', tags=['celery'])
api.include_router(logs.router, prefix='/monitor/logs', tags=['logs'])
api.include_router(doris.router, prefix='/monitor/doris', tags=['doris'])
api.include_router(notice.router, prefix='/manage/notice', tags=['manage-notice'])
api.include_router(notice_center_api.router, prefix='/notice/center', tags=['notice-center'])
api.include_router(callback.router, prefix='/monitor/callback', tags=['monitor-callback'])
api.include_router(url_shorten.router, prefix='/tools/url_shorten', tags=['url_shorten'])
api.include_router(jumpserver_audit.router, prefix='/tools/jumpserver', tags=['jumpserver'])
api.include_router(apollo.router, prefix='/tools/apollo', tags=['apollo'])
api.include_router(bigdata.router, prefix='/bigdata', tags=['bigdata'])
